/*
*
* UmsFocusInfoMapper.java
* Copyright(C) 2017-2020 DHCC
* @date 2020-11-17
*/
package com.cluster.platform.mapper;

import java.util.List;

import com.cluster.platform.model.UmsFocusInfo;
import com.cluster.platform.model.UmsFocusInfoExample;
import org.apache.ibatis.annotations.Param;

public interface UmsFocusInfoMapper {
    /**
     *
     * @mbg.generated 2020-11-17
     */
    long countByExample(UmsFocusInfoExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int deleteByExample(UmsFocusInfoExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int deleteByPrimaryKey(String id);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int insert(UmsFocusInfo record);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int insertSelective(UmsFocusInfo record);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    List<UmsFocusInfo> selectByExample(UmsFocusInfoExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    UmsFocusInfo selectByPrimaryKey(String id);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByExampleSelective(@Param("record") UmsFocusInfo record, @Param("example") UmsFocusInfoExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByExample(@Param("record") UmsFocusInfo record, @Param("example") UmsFocusInfoExample example);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByPrimaryKeySelective(UmsFocusInfo record);

    /**
     *
     * @mbg.generated 2020-11-17
     */
    int updateByPrimaryKey(UmsFocusInfo record);

    /**
     * 查询
     */
    List<UmsFocusInfo> searchFocusList(UmsFocusInfo umsFocusInfo);

    /**
     * 取关
     */
    int cancelFocus(UmsFocusInfo umsFocusInfo);

}